{"version":3,"sources":["process.bundle.js"],"names":["this","BX","UI","exports","ui_designTokens","ui_progressbar","main_core_events","main_popup","ui_alerts","ui_buttons","main_core","ProcessResultStatus","progress","completed","ProcessState","intermediate","running","stopped","error","canceling","_templateObject","_templateObject2","_templateObject3","_templateObject4","_templateObject5","_templateObject6","_templateObject7","_templateObject8","BaseField","options","babelHelpers","classCallCheck","defineProperty","id","Math","random","toString","substring","name","type","title","obligatory","setValue","value","emptyMessage","Loc","getMessage","createClass","key","Error","getValue","render","lock","isFilled","getInput","field","getContainer","container","Tag","taggedTemplateLiteral","DialogStyle","ProcessOptionContainer","className","appendChild","ProcessOptionsTitle","ProcessOptionsInput","alertId","ProcessOptionsObligatory","showWarning","message","optionElement","querySelector","Type","isStringFilled","messageElement","innerHTML","style","display","_message","hideWarning","_templateObject$1","TextField","_BaseField","inherits","_this","possibleConstructorReturn","getPrototypeOf","call","assertThisInitialized","ProcessOptionText","textSize","cols","textLine","rows","disabled","flag","arguments","length","undefined","_templateObject$2","FileField","ProcessOptionFile","FileList","files","File","_templateObject$3","_templateObject2$1","_templateObject3$1","_templateObject4$1","_templateObject5$1","_templateObject6$1","_templateObject7$1","CheckboxField","ProcessOptionCheckbox","list","multiple","ProcessOptionMultiple","isArray","optionElements","querySelectorAll","k","checked","indexOf","isBoolean","push","_this2","Object","keys","forEach","itemId","_templateObject$4","_templateObject2$2","SelectField","ProcessOptionSelect","size","selected","option","_templateObject$5","_templateObject2$3","_templateObject3$2","RadioField","_templateObject$6","_templateObject2$4","_templateObject3$3","_templateObject4$2","ProcessWindow","ProcessPopup","ProcessSummary","ProcessProgressbar","ProcessOptions","ButtonStart","ButtonStop","ButtonCancel","ButtonDownload","ButtonRemove","DialogEvent","Shown","Closed","Start","Stop","Dialog","settings","_settings","getSetting","_messages","optionsFields","fields","isPlainObject","hasOwnProperty","optionName","setSetting","optionsFieldsValue","showButtons","start","stop","close","_handlers","destroy","popupWindow","getId","defaultVal","setMessage","text","setHandler","handler","callHandler","args","apply","EventEmitter","emit","BaseEvent","dialog","show","isShown","document","isAdminPanel","progressBar","ProgressBar","statusType","Status","COUNTER","Size","LARGE","MEDIUM","fill","column","Alert","color","AlertColor","DANGER","icon","AlertIcon","AlertSize","SMALL","warning","WARNING","PopupManager","create","cacheable","titleBar","autoHide","closeByEsc","closeIcon","content","_prepareDialogContent","draggable","buttons","_prepareDialogButtons","bindOptions","forceBindPosition","events","onClose","delegate","onDialogClose","overlay","resizable","minWidth","Number","parseInt","maxWidth","summaryBlock","errorBlock","warningBlock","progressBarBlock","optionsFieldsBlock","Dom","clean","optionValue","optionBlock","_renderOption","HTMLElement","dialogContent","handleStartButtonClick","btn","getButton","isDisabled","handleStopButtonClick","handleCloseButtonClick","ret","startButtonText","Button","Color","SUCCESS","Icon","START","click","stopButtonText","LIGHT_BORDER","STOP","setDisabled","closeButtonText","CancelButton","tag","SPAN","setDownloadButtons","downloadLink","fileName","purgeHandler","downloadButtonText","downloadButton","DOWNLOAD","LINK","link","props","download","clearButtonText","clearButton","REMOVE","setButtons","resetButtons","bid","_this$buttons$bid","lockButton","wait","setWaiting","showButton","setSummary","isHtml","util","htmlspecialchars","setErrors","errors","err","setError","setColor","setText","clearErrors","setWarning","clearWarnings","setProgressBar","totalItems","processedItems","textBefore","isNumber","PRIMARY","setMaxValue","setTextBefore","update","hideProgressBar","hide","getOptionField","isString","getOptionFieldValues","_this3","initialOptions","val","isArrayFilled","checkOptionFields","_this4","lockOptionFields","_this5","ProcessEvent","StateChanged","BeforeRequest","ProcessCallback","RequestStart","RequestStop","RequestFinalize","StepCompleted","ProcessDefaultLabels","AuthError","RequestError","DialogStartButton","DialogStopButton","DialogCloseButton","RequestCanceling","RequestCanceled","RequestCompleted","DialogExportDownloadButton","DialogExportClearButton","WaitingResponse","EndpointType","Controller","Component","Process","Map","getOption","Text","getRandom","toLowerCase","controller","component","controllerDefault","endpointType","componentMode","TypeError","setQueue","setParams","setOptionsFields","setHandlers","setMessages","_closeConnection","startStep","_refreshHash","state","getDialog","networkErrorCount","getQueueLength","currentStep","queue","setController","action","setAction","startRequest","stopRequest","isRequestRunning","ajaxPromise","actionData","FormData","appendData","data","prefix","append","element","params","isNotEmptyObject","initialOptionValues","storeOptionFieldValues","setState","hasActionHandler","callActionHandler","hasHandler","process","method","onrequeststart","_onRequestStart","bind","ajax","runAction","getAction","then","_onRequestSuccess","_onRequestFailure","mode","signedParameters","runComponentAction","clone","cancelingAction","proceedAction","finalizeRequest","hash","Date","now","setParam","response","xhr","slice","errMessages","result","status","STATUS","summary","SUMMARY","SUMMARY_HTML","PROCESSED_ITEMS","TOTAL_ITEMS","finalize","FINALIZE","progressBarTitle","nextController","NEXT_CONTROLLER","nextAction","NEXT_ACTION","setTimeout","DOWNLOAD_LINK","DOWNLOAD_LINK_NAME","CLEAR_LINK_NAME","FILE_NAME","callAction","ajaxRejectData","reason","abortingState","networkError","code","XMLHttpRequest","abort","e","setId","addQueueAction","setOption","defaultValue","addOptionsField","values","window","valuesToStore","sessionStorage","setItem","JSON","stringify","restoreOptionFieldValues","parse","getItem","_this6","getParams","getParam","getState","getController","setComponent","getComponent","handlers","_this7","isFunction","messages","_this8","set","placeholders","phrase","has","get","placeholder","replace","startButton","stopButton","closeButton","dialogShown","dialogClosed","showDialog","closeDialog","ProcessManager","instances","_delete","StepProcessing","Event","Main"],"mappings":"AAAAA,KAAKC,GAAKD,KAAKC,IAAM,GACrBD,KAAKC,GAAGC,GAAKF,KAAKC,GAAGC,IAAM,IAC1B,SAAUC,EAAQC,EAAgBC,EAAeC,EAAiBC,EAAWC,EAAUC,EAAWC,GAClG,aAKA,IAAIC,EAAsB,CACxBC,SAAU,WACVC,UAAW,aAEb,IAAIC,EAAe,CACjBC,aAAc,eACdC,QAAS,UACTH,UAAW,YACXI,QAAS,UACTC,MAAO,QACPC,UAAW,aAGb,IAAIC,EAAiBC,EAAkBC,EAAkBC,EAAkBC,EAAkBC,EAAkBC,EAAkBC,EACjI,IAAIC,EAAyB,WAC3B,SAASA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